package com.candy.util;

import com.candy.service.AccountService;
import com.candy.service.impl.AccountServiceImpl;

/**
 * 实例工厂，
 */
public class InstanceFactory {
    /**
     * 创建并返回AccountService实例对象
     * @returnAccountService实例对象
     */
    public AccountService createAccountService(){
        return new AccountServiceImpl();
    }
}
